﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaiduAPI.AirQuality
{
    internal class AirQualityService
    {
        ///<summary>
        /// 根据城市的名称获取天气情况
        /// </summary>
        /// <returns></returns>
        public static AirQuality.AirQualityClass get_FromCityPinYin(string strCode)
        {
            string strAddress = APIAddress.AirQuality + "?city={0}";
            return WebInvoke<AirQualityClass>.Invoke(string.Format(strAddress, strCode));
        }
    }
}
